JavaScript

A5.u.jsonpostparse Method

Syntax

A5.u.json.postparse(object)

Arguments

objectobjectarray

The object or array to parse.

Description

Convert all parsed data types (such as date and function) in passed in object back to the original type. See A5.u.json.preparse.

Example

// assume "json" is a string of JSON that is being returned from storage.
// also assume the object the JSON has been created from had been pre-parsed with A5.u.json.preparse.
var obj = JSON.parse(json);
A5.u.json.postparse(obj);